package com.hospital.pharmacy.service;

import com.hospital.pharmacy.entity.SalesRecord;
import org.springframework.stereotype.Service;

import java.util.Date;


@Service
public interface SaleRecordService {
    String getAllSale();
    String saleMed(Integer sale_med_id, Date sale_med_time, Integer sale_med_count, Double sale_med_price, Double sale_med_total, String sale_remark);
    String selectSaleByMedName(String med_name);
    String selectSaleByDate(Date date);
    SalesRecord selectSaleById(Integer id);
    String delete(Integer id);
    String update(int salId,int salRecCount,double salRecPrice,Date date,double salRecToTal);
}
